.class Lcom/xingbook/huiben/activity/b;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/huiben/receiver/a;


# instance fields
.field final synthetic a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;


# direct methods
.method constructor <init>(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/xingbook/huiben/playitem/c;)V
    .locals 2

    const/4 v1, 0x1

    sget-object v0, Lcom/xingbook/huiben/playitem/c;->b:Lcom/xingbook/huiben/playitem/c;

    if-eq p1, v0, :cond_0

    sget-object v0, Lcom/xingbook/huiben/playitem/c;->c:Lcom/xingbook/huiben/playitem/c;

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/HuibenReadingActivity;->a(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)Lcom/xingbook/huiben/activity/f;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/huiben/activity/f;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/HuibenReadingActivity;->a(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)Lcom/xingbook/huiben/activity/f;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/huiben/activity/f;->sendEmptyMessage(I)Z

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/HuibenReadingActivity;->b(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)Lcom/xingbook/huiben/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/huiben/b/d;->a()V

    return-void

    :cond_1
    sget-object v0, Lcom/xingbook/huiben/playitem/c;->d:Lcom/xingbook/huiben/playitem/c;

    if-ne p1, v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/HuibenReadingActivity;->a(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)Lcom/xingbook/huiben/activity/f;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/huiben/activity/f;->removeMessages(I)V

    goto :goto_0

    :cond_2
    sget-object v0, Lcom/xingbook/huiben/playitem/c;->a:Lcom/xingbook/huiben/playitem/c;

    if-eq p1, v0, :cond_3

    sget-object v0, Lcom/xingbook/huiben/playitem/c;->e:Lcom/xingbook/huiben/playitem/c;

    if-ne p1, v0, :cond_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/huiben/activity/b;->a:Lcom/xingbook/huiben/activity/HuibenReadingActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/HuibenReadingActivity;->a(Lcom/xingbook/huiben/activity/HuibenReadingActivity;)Lcom/xingbook/huiben/activity/f;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/huiben/activity/f;->removeMessages(I)V

    goto :goto_0
.end method
